<template>
  <div id="banner">
    <el-carousel :interval="1500" arrow="always" height="450px">
      <el-carousel-item v-for="image in images" :key="image">
        <img :src="image" width="100%" height="450" />
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script setup>
import { reactive } from "vue";

const images = reactive([
  require("@/assets/img/banner/1.jpg"),
  require("@/assets/img/banner/2.jpg"),
  require("@/assets/img/banner/3.jpg"),
  require("@/assets/img/banner/4.jpg"),
]);
</script>

<style lang="scss" scoped></style>
